package com.shop.cloud.model.response;

import java.sql.Timestamp;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.shop.cloud.model.response.RestfulResponse;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Alex
 */

@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class GetOrderListResponse {
	
	@JsonProperty("id")
    @ApiModelProperty(value = "订单id", example = "", required = true)
    private Long id;
    
	@JsonProperty("orderNo")
    @ApiModelProperty(value = "订单号", example = "", required = true)
    private String orderNo;
    
	@JsonProperty("typeName")
    @ApiModelProperty(value = "商品专区名称", example = "", required = true)
    private String typeName;
    
	@JsonProperty("name")
    @ApiModelProperty(value = "商品名称", example = "", required = true)
    private String name;
    
	@JsonProperty("pics")
    @ApiModelProperty(value = "商品图片集合", example = "", required = true)
    private List<String> pics;
    
	@JsonProperty("totalAmount")
    @ApiModelProperty(value = "订单总额描述", example = "", required = true)
    private String totalAmount;
    
	@JsonProperty("buyerUserId")
    @ApiModelProperty(value = "买家用户id", example = "", required = true)
    private Long buyerUserId;
    
	@JsonProperty("buyerNickname")
    @ApiModelProperty(value = "买家昵称", example = "", required = true)
    private String buyerNickname;
    
	@JsonProperty("buyerPhone")
    @ApiModelProperty(value = "买家手机号", example = "", required = true)
    private String buyerPhone;
    
	@JsonProperty("shopName")
    @ApiModelProperty(value = "店铺名称", example = "", required = true)
    private String shopName;
    
	@JsonProperty("status")
    @ApiModelProperty(value = "订单状态。2待发货，3待收货，4已结束，5已取消", example = "", required = true)
    private int status;
    
	@JsonProperty("statusStr")
    @ApiModelProperty(value = "订单状态描述", example = "", required = true)
    private String statusStr;
    
	@JsonProperty("orderTime")
    @ApiModelProperty(value = "下单时间", example = "", required = true)
    private String orderTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatusStr() {
		return statusStr;
	}

	public void setStatusStr(String statusStr) {
		this.statusStr = statusStr;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}

	public Long getBuyerUserId() {
		return buyerUserId;
	}

	public void setBuyerUserId(Long buyerUserId) {
		this.buyerUserId = buyerUserId;
	}

	public String getBuyerNickname() {
		return buyerNickname;
	}

	public void setBuyerNickname(String buyerNickname) {
		this.buyerNickname = buyerNickname;
	}

	public String getBuyerPhone() {
		return buyerPhone;
	}

	public void setBuyerPhone(String buyerPhone) {
		this.buyerPhone = buyerPhone;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}

	public List<String> getPics() {
		return pics;
	}

	public void setPics(List<String> pics) {
		this.pics = pics;
	}

}
